home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 33 / PCGamer33_OddworldAbesExoddus_CD1.iso / The Whell of Time / wotdemo.exe / System / WoTPawns.u / MashadarGuide_MashadarTrailer_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-11-02  |  5.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 7d 50 2f 2f 2d 2d 2d 2d |........|}P//----|
|00000010| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000020| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000030| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000040| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000050| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 0a 2f 2f 20 4d |--------|--..// M|
|00000060| 61 73 68 61 64 61 72 54 | 72 61 69 6c 65 72 2e 75 |ashadarT|railer.u|
|00000070| 63 0d 0a 2f 2f 20 24 41 | 75 74 68 6f 72 3a 20 4d |c..// $A|uthor: M|
|00000080| 66 6f 78 20 24 0d 0a 2f | 2f 20 24 44 61 74 65 3a |fox $../|/ $Date:|
|00000090| 20 31 30 2f 32 36 2f 39 | 39 20 38 3a 34 36 70 20 | 10/26/9|9 8:46p |
|000000a0| 24 0d 0a 2f 2f 20 24 52 | 65 76 69 73 69 6f 6e 3a |$..// $R|evision:|
|000000b0| 20 32 20 24 0d 0a 2f 2f | 0d 0a 2f 2f 20 44 65 73 | 2 $..//|..// Des|
|000000c0| 63 72 69 70 74 69 6f 6e | 3a 09 0d 0a 2f 2f 2d 2d |cription|:...//--|
|000000d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000100| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000110| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0a 2f 2f |--------|----..//|
|00000120| 20 48 6f 77 20 74 6f 20 | 75 73 65 20 74 68 69 73 | How to |use this|
|00000130| 20 63 6c 61 73 73 3a 0d | 0a 2f 2f 0d 0a 2f 2f 2d | class:.|.//..//-|
|00000140| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000150| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000160| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000170| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000180| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 0a 63 |--------|-----..c|
|00000190| 6c 61 73 73 20 4d 61 73 | 68 61 64 61 72 54 72 61 |lass Mas|hadarTra|
|000001a0| 69 6c 65 72 20 65 78 70 | 61 6e 64 73 20 49 4b 54 |iler exp|ands IKT|
|000001b0| 72 61 69 6c 65 72 3b 0d | 0a 0d 0a 76 61 72 20 4d |railer;.|...var M|
|000001c0| 61 73 68 61 64 61 72 47 | 75 69 64 65 20 47 75 69 |ashadarG|uide Gui|
|000001d0| 64 65 3b 09 2f 2f 20 4f | 75 72 20 67 75 69 64 69 |de;.// O|ur guidi|
|000001e0| 6e 67 20 6f 62 6a 65 63 | 74 2e 0d 0a 0d 0a 76 61 |ng objec|t.....va|
|000001f0| 72 28 29 20 69 6e 74 20 | 44 61 6d 61 67 65 3b 09 |r() int |Damage;.|
|00000200| 09 09 2f 2f 20 48 6f 77 | 20 6d 75 63 68 20 77 65 |..// How| much we|
|00000210| 20 68 75 72 74 20 6f 74 | 68 65 72 20 70 61 77 6e | hurt ot|her pawn|
|00000220| 73 20 77 68 65 6e 20 74 | 68 65 79 20 74 6f 75 63 |s when t|hey touc|
|00000230| 68 20 75 73 2e 0d 0a 0d | 0a 76 61 72 28 29 20 66 |h us....|.var() f|
|00000240| 6c 6f 61 74 20 4d 69 6e | 53 63 61 6c 65 47 6c 6f |loat Min|ScaleGlo|
|00000250| 77 2c 20 4d 61 78 53 63 | 61 6c 65 47 6c 6f 77 3b |w, MaxSc|aleGlow;|
|00000260| 0d 0a 0d 0a 76 61 72 20 | 66 6c 6f 61 74 20 44 65 |....var |float De|
|00000270| 73 69 72 65 64 53 63 61 | 6c 65 47 6c 6f 77 3b 0d |siredSca|leGlow;.|
|00000280| 0a 0d 0a 76 61 72 20 69 | 6e 74 20 4e 6f 44 61 6d |...var i|nt NoDam|
|00000290| 61 67 65 43 6f 75 6e 74 | 65 72 3b 0d 0a 76 61 72 |ageCount|er;..var|
|000002a0| 28 29 20 69 6e 74 20 4e | 6f 44 61 6d 61 67 65 54 |() int N|oDamageT|
|000002b0| 6f 6c 65 72 61 6e 63 65 | 3b 2f 2f 20 4e 75 6d 62 |olerance|;// Numb|
|000002c0| 65 72 20 6f 66 20 74 69 | 6d 65 73 20 69 6e 20 61 |er of ti|mes in a|
|000002d0| 20 72 6f 77 20 4d 61 73 | 68 61 64 61 72 20 77 69 | row Mas|hadar wi|
|000002e0| 6c 6c 20 74 72 79 20 74 | 6f 20 64 61 6d 61 67 65 |ll try t|o damage|
|000002f0| 20 74 68 65 20 70 6c 61 | 79 65 72 0d 0a 09 09 09 | the pla|yer.....|
|00000300| 09 09 09 09 2f 2f 20 61 | 6e 64 20 66 61 69 6c 20 |....// a|nd fail |
|00000310| 62 65 66 6f 72 65 20 67 | 69 76 69 6e 67 20 75 70 |before g|iving up|
|00000320| 2e 0d 0a 0d 0a 2f 2f 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.....//-|--------|
|00000330| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000340| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000350| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000360| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000370| 2d 2d 2d 2d 2d 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |-----..s|imulated|
|00000380| 20 66 75 6e 63 74 69 6f | 6e 20 50 72 65 42 65 67 | functio|n PreBeg|
|00000390| 69 6e 50 6c 61 79 28 29 | 0d 0a 7b 0d 0a 09 53 75 |inPlay()|..{...Su|
|000003a0| 70 65 72 2e 50 72 65 42 | 65 67 69 6e 50 6c 61 79 |per.PreB|eginPlay|
|000003b0| 28 29 3b 0d 0a 09 46 61 | 64 65 49 6e 28 29 3b 0d |();...Fa|deIn();.|
|000003c0| 0a 7d 0d 0a 0d 0a 2f 2f | 2d 2d 2d 2d 2d 2d 2d 2d |.}....//|--------|
|000003d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000003e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000003f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000400| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000410| 2d 2d 2d 2d 2d 2d 0d 0a | 73 69 6d 75 6c 61 74 65 |------..|simulate|
|00000420| 64 20 66 75 6e 63 74 69 | 6f 6e 20 53 65 74 49 6e |d functi|on SetIn|
|00000430| 69 74 69 61 6c 53 74 61 | 74 65 28 29 0d 0a 7b 0d |itialSta|te()..{.|
|00000440| 0a 09 2f 2f 20 4c 65 74 | 20 75 73 20 77 6f 72 72 |..// Let| us worr|
|00000450| 79 20 61 62 6f 75 74 20 | 74 68 61 74 2e 0d 0a 09 |y about |that....|
|00000460| 2f 2f 20 28 50 72 65 42 | 65 67 69 6e 50 6c 61 79 |// (PreB|eginPlay|
|00000470| 20 63 61 6c 6c 73 20 46 | 61 64 65 49 6e 20 77 68 | calls F|adeIn wh|
|00000480| 69 63 68 20 73 65 74 73 | 20 6f 75 72 20 73 74 61 |ich sets| our sta|
|00000490| 74 65 20 74 6f 20 46 61 | 64 69 6e 67 49 6e 2e 29 |te to Fa|dingIn.)|
|000004a0| 0d 0a 7d 0d 0a 0d 0a 2f | 2f 2d 2d 2d 2d 2d 2d 2d |..}..../|/-------|
|000004b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000004c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000004d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000004e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000004f0| 2d 2d 2d 2d 2d 2d 2d 0d | 0a 2f 2f 20 50 72 6f 70 |-------.|.// Prop|
|00000500| 6f 67 61 74 65 20 61 6c | 6c 20 64 61 6d 61 67 65 |ogate al|l damage|
|00000510| 20 74 68 72 6f 75 67 68 | 20 6f 75 72 20 67 75 69 | through| our gui|
|00000520| 64 69 6e 67 20 6f 62 6a | 65 63 74 2e 0d 0a 2f 2f |ding obj|ect...//|
|00000530| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000540| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000550| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000560| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000570| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0a |--------|------..|
|00000580| 66 75 6e 63 74 69 6f 6e | 20 54 61 6b 65 44 61 6d |function| TakeDam|
|00000590| 61 67 65 28 20 69 6e 74 | 20 44 61 6d 61 67 65 2c |age( int| Damage,|
|000005a0| 20 50 61 77 6e 20 44 61 | 6d 61 67 65 49 6e 73 74 | Pawn Da|mageInst|
|000005b0| 69 67 61 74 6f 72 2c 20 | 76 65 63 74 6f 72 20 48 |igator, |vector H|
|000005c0| 69 74 4c 6f 63 61 74 69 | 6f 6e 2c 20 76 65 63 74 |itLocati|on, vect|
|000005d0| 6f 72 20 4d 6f 6d 65 6e | 74 75 6d 2c 20 6e 61 6d |or Momen|tum, nam|
|000005e0| 65 20 44 61 6d 61 67 65 | 54 79 70 65 20 29 0d 0a |e Damage|Type )..|
|000005f0| 7b 0d 0a 09 69 66 28 20 | 47 75 69 64 65 20 21 3d |{...if( |Guide !=|
|00000600| 20 4e 6f 6e 65 20 29 0d | 0a 09 7b 0d 0a 09 09 47 | None ).|..{....G|
|00000610| 75 69 64 65 2e 48 75 72 | 74 4d 61 73 68 61 64 61 |uide.Hur|tMashada|
|00000620| 72 28 20 44 61 6d 61 67 | 65 2c 20 53 65 6c 66 2c |r( Damag|e, Self,|
|00000630| 20 44 61 6d 61 67 65 49 | 6e 73 74 69 67 61 74 6f | DamageI|nstigato|
|00000640| 72 2c 20 44 61 6d 61 67 | 65 54 79 70 65 20 29 3b |r, Damag|eType );|
|00000650| 0d 0a 09 7d 0d 0a 7d 0d | 0a 0d 0a 2f 2f 2d 2d 2d |...}..}.|...//---|
|00000660| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000670| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0a 66 75 6e |--------|---..fun|
|000006b0| 63 74 69 6f 6e 20 54 6f | 75 63 68 28 20 41 63 74 |ction To|uch( Act|
|000006c0| 6f 72 20 4f 74 68 65 72 | 20 29 0d 0a 7b 0d 0a 09 |or Other| )..{...|
|000006d0| 6c 6f 63 61 6c 20 69 6e | 74 20 48 65 61 6c 74 68 |local in|t Health|
|000006e0| 3b 0d 0a 0d 0a 09 2f 2f | 20 4f 6e 6c 79 20 63 61 |;.....//| Only ca|
|000006f0| 6c 6c 20 6f 6e 20 74 68 | 65 20 73 65 72 76 65 72 |ll on th|e server|
|00000700| 2e 0d 0a 09 69 66 28 20 | 4c 65 76 65 6c 2e 4e 65 |....if( |Level.Ne|
|00000710| 74 4d 6f 64 65 3d 3d 4e | 4d 5f 43 6c 69 65 6e 74 |tMode==N|M_Client|
|00000720| 20 29 20 72 65 74 75 72 | 6e 3b 0d 0a 0d 0a 09 2f | ) retur|n;...../|
|00000730| 2f 20 41 62 6f 72 74 20 | 69 66 20 77 65 20 61 72 |/ Abort |if we ar|
|00000740| 65 20 67 75 69 64 65 2d | 6c 65 73 73 2e 0d 0a 09 |e guide-|less....|
|00000750| 69 66 28 20 47 75 69 64 | 65 20 3d 3d 20 4e 6f 6e |if( Guid|e == Non|
|00000760| 65 20 29 20 72 65 74 75 | 72 6e 3b 0d 0a 0d 0a 09 |e ) retu|rn;.....|
|00000770| 2f 2f 20 43 68 65 63 6b | 20 66 6f 72 20 6c 69 67 |// Check| for lig|
|00000780| 68 74 6e 69 6e 67 2e 0d | 0a 09 69 66 28 20 50 61 |htning..|..if( Pa|
|00000790| 77 6e 28 4f 74 68 65 72 | 29 20 21 3d 20 4e 6f 6e |wn(Other|) != Non|
|000007a0| 65 20 29 0d 0a 09 7b 0d | 0a 2f 2a 20 77 6f 74 64 |e )...{.|./* wotd|
|000007b0| 65 6d 6f 0d 0a 09 09 69 | 66 28 20 63 6c 61 73 73 |emo....i|f( class|
|000007c0| 27 41 6e 67 72 65 61 6c | 49 6e 76 4c 69 67 68 74 |'Angreal|InvLight|
|000007d0| 6e 69 6e 67 27 2e 73 74 | 61 74 69 63 2e 49 73 55 |ning'.st|atic.IsU|
|000007e0| 73 69 6e 67 4c 69 67 68 | 74 6e 69 6e 67 28 20 50 |singLigh|tning( P|
|000007f0| 61 77 6e 28 4f 74 68 65 | 72 29 20 29 20 29 0d 0a |awn(Othe|r) ) )..|
|00000800| 09 09 7b 0d 0a 09 09 09 | 47 75 69 64 65 2e 53 68 |..{.....|Guide.Sh|
|00000810| 6f 63 6b 28 20 50 61 77 | 6e 28 4f 74 68 65 72 29 |ock( Paw|n(Other)|
|00000820| 20 29 3b 0d 0a 09 09 09 | 72 65 74 75 72 6e 3b 0d | );.....|return;.|
|00000830| 0a 09 09 7d 0d 0a 2a 2f | 09 0d 0a 09 09 69 66 28 |...}..*/|.....if(|
|00000840| 20 28 50 61 77 6e 28 4f | 74 68 65 72 29 2e 50 6c | (Pawn(O|ther).Pl|
|00000850| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00000860| 6e 66 6f 20 3d 3d 20 4e | 6f 6e 65 20 7c 7c 20 50 |nfo == N|one || P|
|00000870| 61 77 6e 28 4f 74 68 65 | 72 29 2e 50 6c 61 79 65 |awn(Othe|r).Playe|
|00000880| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00000890| 2e 54 65 61 6d 20 21 3d | 20 47 75 69 64 65 2e 54 |.Team !=| Guide.T|
|000008a0| 65 61 6d 29 20 26 26 20 | 47 75 69 64 65 2e 62 41 |eam) && |Guide.bA|
|000008b0| 63 74 69 76 65 20 29 0d | 0a 09 09 7b 0d 0a 09 09 |ctive ).|...{....|
|000008c0| 09 48 65 61 6c 74 68 20 | 3d 20 50 61 77 6e 28 4f |.Health |= Pawn(O|
|000008d0| 74 68 65 72 29 2e 48 65 | 61 6c 74 68 3b 0d 0a 09 |ther).He|alth;...|
|000008e0| 09 09 4f 74 68 65 72 2e | 54 61 6b 65 44 61 6d 61 |..Other.|TakeDama|
|000008f0| 67 65 28 20 44 61 6d 61 | 67 65 2c 20 49 6e 73 74 |ge( Dama|ge, Inst|
|00000900| 69 67 61 74 6f 72 2c 20 | 4c 6f 63 61 74 69 6f 6e |igator, |Location|
|00000910| 2c 20 76 65 63 74 28 30 | 2c 30 2c 30 29 2c 20 27 |, vect(0|,0,0), '|
|00000920| 78 78 78 78 53 27 20 2f | 2a 53 70 69 72 69 74 2a |xxxxS' /|*Spirit*|
|00000930| 2f 20 29 3b 0d 0a 09 09 | 09 69 66 28 20 50 61 77 |/ );....|.if( Paw|
|00000940| 6e 28 4f 74 68 65 72 29 | 2e 48 65 61 6c 74 68 20 |n(Other)|.Health |
|00000950| 3d 3d 20 48 65 61 6c 74 | 68 20 29 0d 0a 09 09 09 |== Healt|h ).....|
|00000960| 7b 0d 0a 09 09 09 09 4e | 6f 44 61 6d 61 67 65 43 |{......N|oDamageC|
|00000970| 6f 75 6e 74 65 72 2b 2b | 3b 0d 0a 09 09 09 09 69 |ounter++|;......i|
|00000980| 66 28 20 4e 6f 44 61 6d | 61 67 65 43 6f 75 6e 74 |f( NoDam|ageCount|
|00000990| 65 72 20 3e 20 4e 6f 44 | 61 6d 61 67 65 54 6f 6c |er > NoD|amageTol|
|000009a0| 65 72 61 6e 63 65 20 29 | 0d 0a 09 09 09 09 7b 0d |erance )|......{.|
|000009b0| 0a 09 09 09 09 09 4e 6f | 44 61 6d 61 67 65 43 6f |......No|DamageCo|
|000009c0| 75 6e 74 65 72 20 3d 20 | 30 3b 0d 0a 09 09 09 09 |unter = |0;......|
|000009d0| 09 47 75 69 64 65 2e 44 | 65 61 63 74 69 76 61 74 |.Guide.D|eactivat|
|000009e0| 65 28 29 3b 0d 0a 09 09 | 09 09 09 47 75 69 64 65 |e();....|...Guide|
|000009f0| 2e 43 6c 69 65 6e 74 44 | 65 61 63 74 69 76 61 74 |.ClientD|eactivat|
|00000a00| 65 46 49 44 2b 2b 3b 09 | 2f 2f 20 54 65 6c 6c 20 |eFID++;.|// Tell |
|00000a10| 74 68 65 20 63 6c 69 65 | 6e 74 73 20 74 6f 20 44 |the clie|nts to D|
|00000a20| 65 61 63 74 69 76 61 74 | 65 2e 0d 0a 09 09 09 09 |eactivat|e.......|
|00000a30| 7d 0d 0a 09 09 09 7d 0d | 0a 09 09 09 65 6c 73 65 |}.....}.|....else|
|00000a40| 0d 0a 09 09 09 7b 0d 0a | 09 09 09 09 4e 6f 44 61 |.....{..|....NoDa|
|00000a50| 6d 61 67 65 43 6f 75 6e | 74 65 72 20 3d 20 30 3b |mageCoun|ter = 0;|
|00000a60| 0d 0a 09 09 09 7d 0d 0a | 0d 0a 2f 2a 4e 6f 74 20 |.....}..|../*Not |
|00000a70| 66 75 6e 2e 0d 0a 09 09 | 09 47 75 69 64 65 2e 47 |fun.....|.Guide.G|
|00000a80| 69 76 65 48 65 61 6c 74 | 68 28 20 44 61 6d 61 67 |iveHealt|h( Damag|
|00000a90| 65 20 29 3b 0d 0a 2a 2f | 0d 0a 0d 0a 09 09 09 2f |e );..*/|......./|
|00000aa0| 2f 20 50 6c 61 79 53 6f | 75 6e 64 2e 0d 0a 09 09 |/ PlaySo|und.....|
|00000ab0| 09 69 66 28 20 50 61 77 | 6e 28 4f 74 68 65 72 29 |.if( Paw|n(Other)|
|00000ac0| 2e 48 65 61 6c 74 68 20 | 3e 20 30 20 29 0d 0a 09 |.Health |> 0 )...|
|00000ad0| 09 09 7b 0d 0a 09 09 09 | 09 47 75 69 64 65 2e 50 |..{.....|.Guide.P|
|00000ae0| 6c 61 79 53 6c 6f 74 53 | 6f 75 6e 64 28 20 47 75 |laySlotS|ound( Gu|
|00000af0| 69 64 65 2e 53 6f 75 6e | 64 54 61 62 6c 65 2e 4d |ide.Soun|dTable.M|
|00000b00| 65 6c 65 65 48 69 74 45 | 6e 65 6d 79 54 61 75 6e |eleeHitE|nemyTaun|
|00000b10| 74 53 6f 75 6e 64 53 6c | 6f 74 20 29 3b 0d 0a 09 |tSoundSl|ot );...|
|00000b20| 09 09 7d 0d 0a 09 09 09 | 65 6c 73 65 0d 0a 09 09 |..}.....|else....|
|00000b30| 09 7b 0d 0a 09 09 09 09 | 47 75 69 64 65 2e 50 6c |.{......|Guide.Pl|
|00000b40| 61 79 53 6c 6f 74 53 6f | 75 6e 64 28 20 47 75 69 |aySlotSo|und( Gui|
|00000b50| 64 65 2e 53 6f 75 6e 64 | 54 61 62 6c 65 2e 4d 65 |de.Sound|Table.Me|
|00000b60| 6c 65 65 4b 69 6c 6c 65 | 64 45 6e 65 6d 79 54 61 |leeKille|dEnemyTa|
|00000b70| 75 6e 74 53 6f 75 6e 64 | 53 6c 6f 74 20 29 3b 0d |untSound|Slot );.|
|00000b80| 0a 09 09 09 7d 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |....}...|.}...}..|
|00000b90| 7d 0d 0a 0d 0a 2f 2f 2d | 2d 2d 2d 2d 2d 2d 2d 2d |}....//-|--------|
|00000ba0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000bb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000bc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000bd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000be0| 2d 2d 2d 2d 2d 0d 0a 2f | 2f 20 46 61 69 6c 20 67 |-----../|/ Fail g|
|00000bf0| 72 61 63 65 66 75 6c 6c | 79 2e 0d 0a 2f 2f 2d 2d |racefull|y...//--|
|00000c00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0a 73 69 |--------|----..si|
|00000c50| 6d 75 6c 61 74 65 64 20 | 66 75 6e 63 74 69 6f 6e |mulated |function|
|00000c60| 20 4e 6f 74 69 66 79 4c | 6f 73 74 48 65 61 64 41 | NotifyL|ostHeadA|
|00000c70| 63 74 6f 72 28 29 0d 0a | 7b 0d 0a 09 2f 2f 63 6c |ctor()..|{...//cl|
|00000c80| 61 73 73 27 44 65 62 75 | 67 27 2e 73 74 61 74 69 |ass'Debu|g'.stati|
|00000c90| 63 2e 44 65 62 75 67 57 | 61 72 6e 28 20 53 65 6c |c.DebugW|arn( Sel|
|00000ca0| 66 2c 20 22 4c 6f 73 74 | 20 68 65 61 64 20 61 63 |f, "Lost| head ac|
|00000cb0| 74 6f 72 2e 2e 2e 20 66 | 61 64 69 6e 67 20 61 77 |tor... f|ading aw|
|00000cc0| 61 79 2e 22 2c 20 27 44 | 65 62 75 67 43 61 74 65 |ay.", 'D|ebugCate|
|00000cd0| 67 6f 72 79 5f 41 6e 67 | 72 65 61 6c 27 20 29 3b |gory_Ang|real' );|
|00000ce0| 0d 0a 09 77 61 72 6e 28 | 20 22 4c 6f 73 74 20 68 |...warn(| "Lost h|
|00000cf0| 65 61 64 20 61 63 74 6f | 72 2e 2e 2e 20 66 61 64 |ead acto|r... fad|
|00000d00| 69 6e 67 20 61 77 61 79 | 2e 22 20 29 3b 0d 0a 09 |ing away|." );...|
|00000d10| 46 61 64 65 41 77 61 79 | 28 29 3b 0d 0a 7d 0d 0a |FadeAway|();..}..|
|00000d20| 0d 0a 2f 2f 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..//----|--------|
|00000d30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d70| 2d 2d 0d 0a 73 69 6d 75 | 6c 61 74 65 64 20 66 75 |--..simu|lated fu|
|00000d80| 6e 63 74 69 6f 6e 20 44 | 65 73 74 72 6f 79 65 64 |nction D|estroyed|
|00000d90| 28 29 0d 0a 7b 0d 0a 09 | 69 66 28 20 62 4d 61 73 |()..{...|if( bMas|
|00000da0| 74 65 72 20 26 26 20 43 | 68 69 6c 64 54 72 61 69 |ter && C|hildTrai|
|00000db0| 6c 65 72 20 21 3d 20 4e | 6f 6e 65 20 26 26 20 47 |ler != N|one && G|
|00000dc0| 65 74 53 74 61 74 65 4e | 61 6d 65 28 29 20 21 3d |etStateN|ame() !=|
|00000dd0| 20 27 46 61 64 69 6e 67 | 41 77 61 79 27 20 29 0d | 'Fading|Away' ).|
|00000de0| 0a 09 7b 0d 0a 09 09 4d | 61 73 68 61 64 61 72 54 |..{....M|ashadarT|
|00000df0| 72 61 69 6c 65 72 28 43 | 68 69 6c 64 54 72 61 69 |railer(C|hildTrai|
|00000e00| 6c 65 72 29 2e 46 61 64 | 65 41 77 61 79 28 29 3b |ler).Fad|eAway();|
|00000e10| 0d 0a 09 7d 0d 0a 0d 0a | 09 69 66 28 20 47 75 69 |...}....|.if( Gui|
|00000e20| 64 65 20 21 3d 20 4e 6f | 6e 65 20 29 0d 0a 09 7b |de != No|ne )...{|
|00000e30| 0d 0a 09 09 69 66 28 20 | 4c 65 76 65 6c 2e 4e 65 |....if( |Level.Ne|
|00000e40| 74 4d 6f 64 65 20 21 3d | 20 4e 4d 5f 43 6c 69 65 |tMode !=| NM_Clie|
|00000e50| 6e 74 20 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 47 75 |nt )....|{.....Gu|
|00000e60| 69 64 65 2e 4e 75 6d 53 | 65 67 6d 65 6e 74 73 2d |ide.NumS|egments-|
|00000e70| 2d 3b 0d 0a 09 09 7d 0d | 0a 09 09 65 6c 73 65 0d |-;....}.|...else.|
|00000e80| 0a 09 09 7b 0d 0a 09 09 | 09 47 75 69 64 65 2e 43 |...{....|.Guide.C|
|00000e90| 6c 69 65 6e 74 4e 75 6d | 53 65 67 6d 65 6e 74 73 |lientNum|Segments|
|00000ea0| 2d 2d 3b 0d 0a 09 09 7d | 0d 0a 09 7d 0d 0a 0d 0a |--;....}|...}....|
|00000eb0| 09 53 75 70 65 72 2e 44 | 65 73 74 72 6f 79 65 64 |.Super.D|estroyed|
|00000ec0| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 2f 2f 2d 2d 2d 2d |();..}..|..//----|
|00000ed0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ee0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ef0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000f00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000f10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 0a 73 69 6d 75 |--------|--..simu|
|00000f20| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 46 |lated fu|nction F|
|00000f30| 61 64 65 49 6e 28 20 6f | 70 74 69 6f 6e 61 6c 20 |adeIn( o|ptional |
|00000f40| 66 6c 6f 61 74 20 44 65 | 73 69 72 65 64 53 47 20 |float De|siredSG |
|00000f50| 29 0d 0a 7b 0d 0a 09 2f | 2f 20 53 65 74 20 64 65 |)..{.../|/ Set de|
|00000f60| 66 61 75 6c 74 2e 0d 0a | 09 69 66 28 20 44 65 73 |fault...|.if( Des|
|00000f70| 69 72 65 64 53 47 20 3d | 3d 20 30 2e 30 20 29 0d |iredSG =|= 0.0 ).|
|00000f80| 0a 09 7b 0d 0a 09 09 44 | 65 73 69 72 65 64 53 47 |..{....D|esiredSG|
|00000f90| 20 3d 20 52 61 6e 64 52 | 61 6e 67 65 28 20 4d 69 | = RandR|ange( Mi|
|00000fa0| 6e 53 63 61 6c 65 47 6c | 6f 77 2c 20 4d 61 78 53 |nScaleGl|ow, MaxS|
|00000fb0| 63 61 6c 65 47 6c 6f 77 | 20 29 3b 0d 0a 09 7d 0d |caleGlow| );...}.|
|00000fc0| 0a 0d 0a 09 44 65 73 69 | 72 65 64 53 63 61 6c 65 |....Desi|redScale|
|00000fd0| 47 6c 6f 77 20 3d 20 44 | 65 73 69 72 65 64 53 47 |Glow = D|esiredSG|
|00000fe0| 3b 0d 0a 0d 0a 09 69 66 | 28 20 4c 65 76 65 6c 2e |;.....if|( Level.|
|00000ff0| 4e 65 74 4d 6f 64 65 20 | 3d 3d 20 4e 4d 5f 53 74 |NetMode |== NM_St|
|00001000| 61 6e 64 61 6c 6f 6e 65 | 20 29 0d 0a 09 7b 0d 0a |andalone| )...{..|
|00001010| 09 09 47 6f 74 6f 53 74 | 61 74 65 28 27 46 61 64 |..GotoSt|ate('Fad|
|00001020| 69 6e 67 49 6e 27 29 3b | 0d 0a 09 7d 0d 0a 09 65 |ingIn');|...}...e|
|00001030| 6c 73 65 0d 0a 09 7b 0d | 0a 09 09 53 63 61 6c 65 |lse...{.|...Scale|
|00001040| 47 6c 6f 77 20 3d 20 44 | 65 73 69 72 65 64 53 63 |Glow = D|esiredSc|
|00001050| 61 6c 65 47 6c 6f 77 3b | 0d 0a 09 7d 0d 0a 7d 0d |aleGlow;|...}..}.|
|00001060| 0a 0d 0a 2f 2f 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |...//---|--------|
|00001070| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001080| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000010a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000010b0| 2d 2d 2d 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 73 |---..sim|ulated s|
|000010c0| 74 61 74 65 20 46 61 64 | 69 6e 67 49 6e 0d 0a 7b |tate Fad|ingIn..{|
|000010d0| 0d 0a 09 73 69 6d 75 6c | 61 74 65 64 20 66 75 6e |...simul|ated fun|
|000010e0| 63 74 69 6f 6e 20 42 65 | 67 69 6e 53 74 61 74 65 |ction Be|ginState|
|000010f0| 28 29 0d 0a 09 7b 0d 0a | 09 09 53 63 61 6c 65 47 |()...{..|..ScaleG|
|00001100| 6c 6f 77 20 3d 20 30 2e | 30 3b 0d 0a 09 7d 0d 0a |low = 0.|0;...}..|
|00001110| 0d 0a 09 73 69 6d 75 6c | 61 74 65 64 20 66 75 6e |...simul|ated fun|
|00001120| 63 74 69 6f 6e 20 54 69 | 63 6b 28 20 66 6c 6f 61 |ction Ti|ck( floa|
|00001130| 74 20 44 65 6c 74 61 54 | 69 6d 65 20 29 0d 0a 09 |t DeltaT|ime )...|
|00001140| 7b 0d 0a 09 09 47 6c 6f | 62 61 6c 2e 54 69 63 6b |{....Glo|bal.Tick|
|00001150| 28 20 44 65 6c 74 61 54 | 69 6d 65 20 29 3b 0d 0a |( DeltaT|ime );..|
|00001160| 0d 0a 09 09 53 63 61 6c | 65 47 6c 6f 77 20 2b 3d |....Scal|eGlow +=|
|00001170| 20 30 2e 30 31 3b 0d 0a | 09 09 69 66 28 20 53 63 | 0.01;..|..if( Sc|
|00001180| 61 6c 65 47 6c 6f 77 20 | 3e 3d 20 44 65 73 69 72 |aleGlow |>= Desir|
|00001190| 65 64 53 63 61 6c 65 47 | 6c 6f 77 20 29 0d 0a 09 |edScaleG|low )...|
|000011a0| 09 7b 0d 0a 09 09 09 47 | 6f 74 6f 53 74 61 74 65 |.{.....G|otoState|
|000011b0| 28 27 27 29 3b 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |('');...|.}...}..|
|000011c0| 7d 0d 0a 0d 0a 2f 2f 2d | 2d 2d 2d 2d 2d 2d 2d 2d |}....//-|--------|
|000011d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000011e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000011f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001200| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001210| 2d 2d 2d 2d 2d 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |-----..s|imulated|
|00001220| 20 66 75 6e 63 74 69 6f | 6e 20 46 61 64 65 41 77 | functio|n FadeAw|
|00001230| 61 79 28 29 0d 0a 7b 0d | 0a 09 47 6f 74 6f 53 74 |ay()..{.|..GotoSt|
|00001240| 61 74 65 28 27 46 61 64 | 69 6e 67 41 77 61 79 27 |ate('Fad|ingAway'|
|00001250| 29 3b 0d 0a 09 69 66 28 | 20 4d 61 73 68 61 64 61 |);...if(| Mashada|
|00001260| 72 54 72 61 69 6c 65 72 | 28 43 68 69 6c 64 54 72 |rTrailer|(ChildTr|
|00001270| 61 69 6c 65 72 29 20 21 | 3d 20 4e 6f 6e 65 20 29 |ailer) !|= None )|
|00001280| 0d 0a 09 7b 0d 0a 09 09 | 4d 61 73 68 61 64 61 72 |...{....|Mashadar|
|00001290| 54 72 61 69 6c 65 72 28 | 43 68 69 6c 64 54 72 61 |Trailer(|ChildTra|
|000012a0| 69 6c 65 72 29 2e 46 61 | 64 65 41 77 61 79 28 29 |iler).Fa|deAway()|
|000012b0| 3b 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 2f 2f 2d 2d |;...}..}|....//--|
|000012c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000012d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000012e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000012f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001300| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0a 73 69 |--------|----..si|
|00001310| 6d 75 6c 61 74 65 64 20 | 73 74 61 74 65 20 46 61 |mulated |state Fa|
|00001320| 64 69 6e 67 41 77 61 79 | 0d 0a 7b 0d 0a 09 2f 2f |dingAway|..{...//|
|00001330| 20 49 67 6e 6f 72 65 73 | 2e 0d 0a 09 73 69 6d 75 | Ignores|....simu|
|00001340| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 46 |lated fu|nction F|
|00001350| 61 64 65 49 6e 28 20 66 | 6c 6f 61 74 20 44 65 73 |adeIn( f|loat Des|
|00001360| 69 72 65 64 53 63 61 6c | 65 47 6c 6f 77 20 29 3b |iredScal|eGlow );|
|00001370| 0d 0a 0d 0a 09 73 69 6d | 75 6c 61 74 65 64 20 66 |.....sim|ulated f|
|00001380| 75 6e 63 74 69 6f 6e 20 | 54 69 63 6b 28 20 66 6c |unction |Tick( fl|
|00001390| 6f 61 74 20 44 65 6c 74 | 61 54 69 6d 65 20 29 0d |oat Delt|aTime ).|
|000013a0| 0a 09 7b 0d 0a 09 09 2f | 2f 20 4e 4f 54 45 5b 61 |..{..../|/ NOTE[a|
|000013b0| 6c 65 69 62 79 5d 3a 20 | 4d 61 6b 65 20 74 68 69 |leiby]: |Make thi|
|000013c0| 73 20 61 6c 6c 20 74 77 | 65 61 6b 61 62 6c 65 20 |s all tw|eakable |
|000013d0| 66 72 6f 6d 20 55 6e 72 | 65 61 6c 45 64 2e 0d 0a |from Unr|ealEd...|
|000013e0| 09 09 53 63 61 6c 65 47 | 6c 6f 77 20 2d 3d 20 30 |..ScaleG|low -= 0|
|000013f0| 2e 30 32 3b 0d 0a 09 09 | 44 72 61 77 53 63 61 6c |.02;....|DrawScal|
|00001400| 65 20 2b 3d 20 30 2e 30 | 31 3b 0d 0a 09 09 69 66 |e += 0.0|1;....if|
|00001410| 28 20 53 63 61 6c 65 47 | 6c 6f 77 20 3c 3d 20 30 |( ScaleG|low <= 0|
|00001420| 20 29 0d 0a 09 09 7b 0d | 0a 09 09 09 44 65 73 74 | )....{.|....Dest|
|00001430| 72 6f 79 28 29 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |roy();..|..}...}.|
|00001440| 0a 7d 0d 0a 0d 0a 00 | |.}..... | |
+--------+-------------------------+-------------------------+--------+--------+